import request from "@/utils/request";

export const TbpOrgangradeApi={
  contextPath: '/system', //按照实际应用修改成微服务的名�?//
  page: (data)=>{ //分页查询//
    return request({
      url: TbpOrgangradeApi.contextPath+'/t-tbp-organgrade/page',
      method: 'POST',
      data: data
    })
  },
  update: (data)=>{ //更新多条数据//
    return request({
      url: TbpOrgangradeApi.contextPath+'/t-tbp-organgrade/update',
      method: 'POST',
      data: data
    })
  },
  insert: (data)=>{ //新增多条数据//
    return request({
      url: TbpOrgangradeApi.contextPath+'/t-tbp-organgrade/insert',
      method: 'POST',
      data: data
    })
  },
  delete: (data) =>{ //删除多条数据//
    return request({
      url: TbpOrgangradeApi.contextPath+'/t-tbp-organgrade/delete',
      method: 'POST',
      data: data
    })
  },
  getById: (data) =>{ //通过主键查询多条数据//
    return request({
      url: TbpOrgangradeApi.contextPath+'/t-tbp-organgrade/'+data,
      method: 'POST'
    })
  }
}
